<?php

class NewProductsCatalogModule extends CatalogModule
{
	var $namespace = 'core';
	var $extension = 'newproducts';
	
	function NewProductsCatalogModule()
	{
		global $lng;
		
		$this->_sqlQuery = $this->GENERAL_PRODUCT_INFO_SELECT.' where '.sprintf($this->GENERAL_PRODUCT_INFO_JOIN, '1', (int) $lng->getLanguageId()).' order by p.products_date_added DESC, pd.products_name';
	}
}

?>
